/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package baiwa.rta.service;

import baiwa.rta.model.DataTableModel;
import baiwa.rta.model.RMcphdrModel;

import java.util.List;

/**
 *
 * @author jirapatjantsakool
 */
public interface ComplaintService {
    
	public List<RMcphdrModel> getAllComplaint();
        
	public RMcphdrModel getComplaintById(Integer accrid);

        public void save(RMcphdrModel model) throws Exception;
        
        public boolean update(RMcphdrModel model);
        
        public boolean delete(RMcphdrModel model);
        
        public DataTableModel<RMcphdrModel> getComplaintDataTable(RMcphdrModel model, int iDisplayStart, int iDisplayLength);
    
}
